package com.atmc.service;

import com.atmc.bean.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "cloud-provider-service")
public interface FeignService {
    @RequestMapping("/nacos")
    public String nacos();

    @RequestMapping("/selectAll")
    public List<User> select();

    @RequestMapping("/into")
    public String toIndex();
}
